From 862adc7d7e3c07e0bf1aa156809e22da92008cb2 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 1 May 2005 20:29:24 +0000 Subject: [PATCH] Add locationless and benchmark for GSAK, too. (This is the version in 5.5.1 B16) --- Makefile | 4 ++-- defs.h | 2 ++ gpx.c | 3 +++ mingw/wintesto.cmd | 28 ++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dbd766034..b4a763abc 100644 --- a/Makefile +++ b/Makefile @@ -90,8 +90,8 @@ dep: (echo -n "internal_styles.c: mkstyle.sh " ; echo style/*.style ; /bin/echo -e '\t./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)' ) >> /tmp/dep echo Edit Makefile and bring in /tmp/dep -VERSIONU=1_2_6-beta04122005-gsak -VERSIOND=1.2.6_beta04122005-gsak +VERSIONU=1_2_6-beta04302005c-gsak +VERSIOND=1.2.6_beta04302005c-gsak # VERSIONU=1_2_5 # VERSIOND=1.2.5 diff --git a/defs.h b/defs.h index b79cd7540..efaedcab1 100644 --- a/defs.h +++ b/defs.h @@ -111,6 +111,8 @@ typedef enum { gt_suprise, gt_webcam, gt_earth, + gt_locationless, + gt_benchmark, /* Extension to Groundspeak for GSAK */ gt_cito } geocache_type; diff --git a/gpx.c b/gpx.c index 1cfaf0303..bb465e46d 100644 --- a/gpx.c +++ b/gpx.c @@ -481,6 +481,9 @@ gs_type_mapping{ { gt_earth, "Earthcache" }, { gt_cito, "Cache In Trash Out Event" }, { gt_letterbox, "Letterbox Hybrid" }, + { gt_locationless, "Locationless (Reverse) Cache" }, + + { gt_benchmark, "Benchmark" }, /* Not Groundspeak; for GSAK */ }; struct diff --git a/mingw/wintesto.cmd b/mingw/wintesto.cmd index 86c14de10..0df95a78d 100644 --- a/mingw/wintesto.cmd +++ b/mingw/wintesto.cmd @@ -912,6 +912,34 @@ DEL %TMPDIR%\an1.out @echo. CALL :COMPARE %TMPDIR%\an1.out reference\an1-line-out.ref +REM +REM TomTom .ov2 tests +REM + +DEL %TMPDIR%\ov2.out +@echo on +@echo Testing... +%PNAME% -i arc -f reference\google.arc -o tomtom -F %TMPDIR%\ov2.out +@echo off +@echo. +CALL :COMPARE %TMPDIR%\ov2.out reference\ov2-arc-out.ref + +DEL %TMPDIR%\ov2.out +@echo on +@echo Testing... +%PNAME% -i geo -f reference\gl.loc -o tomtom -F %TMPDIR%\ov2.out +@echo off +@echo. +CALL :COMPARE %TMPDIR%\ov2.out reference\ov2-geo-out.ref + +DEL %TMPDIR%\ov2.out +@echo on +@echo Testing... +%PNAME% -i tomtom -f reference\ov2-geo-out.ref -o gpsutil -F %TMPDIR%\ov2.out +@echo off +@echo. +CALL :COMPARE %TMPDIR%\ov2.out reference\ov2-in.ref + REM REM XCSV "human readable" tests REM -- 2.30.2